package cn.itsource.zcn.pay.domain;

import java.util.Date;
import java.io.Serializable;

import lombok.*;

/**
 * 支付单(PayBill)实体类
 *
 * @author makejava
 * @since 2021-08-26 17:56:07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PayBill implements Serializable {
    private static final long serialVersionUID = 966940084972633144L;

    private Long id;
    /**
     * 交易摘要
     */
    private String digest;
    /**
     * 金额
     */
    private Double money;
    /**
     * 支付状态 待支付 已支付 取消
     */
    private Object state;

    private Date lastPayTime;
    /**
     * 支付方式 余额 三方支付
     */
    private String payChannel;

    private Date createTime;

    private Date updateTime;

    private Long user_id;

    private String nickName;

    private String orderSn;
    /**
     * 统一支付单号
     */
    private String unionPaySn;
    /**
     * 业务类型
     */
    private String businessType;
    /**
     * 关联业务键
     */
    private Long businessKey;

    private Integer shop_id;

    private Long order_id;
}
